<template>
	<view class="page">
		<view class="test">
			<view class="message" @click="query()">
				<uni-icons type="paperplane" size=40 style="folat:left;padding:30px;color:snow"></uni-icons>
				<text>核酸检测信息查询</text>
			</view>
			<view class="result" @click="query2()">
				<uni-icons type="paperplane" size=40 style="folat:left;padding:30px;color:snow"></uni-icons>
				<text>核酸检测结果查询</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			query(){
				uni.navigateTo({
					url: '/pages/index/test/testInfo',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			},
			query2(){
				uni.navigateTo({
					url: '/pages/index/test/testlist',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			}
		}
	}
</script>

<style>
	.test{
		width:100vw;
		display:flex;
		margin:3vh 7vw;
		flex-direction: column;
		justify-self: center;
	}
	.message{
		background: #F4A439;
		font-size:23px;
		height:100px;
		width:86vw;
		line-height:100px;
		color:snow;
		margin-bottom: 3vh;
	}
	.result{
		background: #4095E5;
		font-size:23px;
		height:100px;
		width:86vw;
		line-height:100px;
		color:snow
	}
</style>
